import req from '@/utils/request';

//工会列表
export const AdminUnionList = (params) => req.post('/AdminUnion/list', params);

//新增公会
export const AdminUnionAddUnion = (params) => req.post('/AdminUnion/addUnion', params);

//工会详情
export const AdminUnionUnionDetails = (params) => req.post('/AdminUnion/unionDetails', params);

//工会编辑
export const AdminUnionEditUnionInfo = (params) => req.post('/AdminUnion/editUnionInfo', params);

//主播列表
export const AdminUnionUnionAuthorList = (params) => req.post('/AdminUnion/unionAuthorList', params);

//导入主播
export const AdminUnionUnionAdd = (params) => req.post('/AdminUnion/unionAdd', params);

//工会消息列表
export const AdminUnionMessageList = (params) => req.post('/AdminUnionMessage/messageList', params);

//添加工会消息
export const AdminUnionPushMessage = (params) => req.post('/AdminUnionMessage/addMessage', params);

//删除工会消息
export const AdminUnionMessageDelUnionMessage = (params) => req.post('/AdminUnionMessage/delUnionMessage', params);

//立即发送工会消息
export const AdminUnionMessageSendUnionMessage = (params) => req.post('/AdminUnionMessage/sendUnionMessage', params);


